<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>Dividing a table into head, body and footer</title>
	</head>
	<body>
		<table>
			<thead bgcolor="#ADD8E6">
				<tr>
					<th>Transaction date</th>
					<th>Payment type and details</th>
					<th>Paid out</th>
					<th>Paid in</th>
					<th>Balance</th>
				</tr>
			</thead>
			<tfoot bgcolor="#ADD8E6">
				<tr>
					<td></td>
					<td></td>
					<td>$1970.27</td>
					<td>$2450.00</td>
					<td>$8940.88</td>
				</tr>
			</tfoot>
			<tbody>
				<tr>
					<td>12 Jun 09</td>
					<td>Amazon.com</td>
					<td>$49.99</td>
					<td></td>
					<td>$8411.16</td>
				</tr>
				<tr>
					<td>13 Jun 09</td>
					<td>Total</td>
					<td>$60.00</td>
					<td></td>
					<td>$8351.16</td>
				</tr>
				<tr>
					<td>14 Jun 09</td>
					<td>Whole Foods</td>
					<td>$75.28</td>
					<td></td>
					<td>$8275.88</td>
				</tr>
				<tr>
					<td>14 Jun 09</td>
					<td>Visa Payment</td>
					<td>$350.00</td>
					<td></td>
					<td>$7925.88</td>
				</tr>
				<tr>
					<td>15 Jun 09</td>
					<td>Cheque 122501</td>
					<td></td>
					<td>$1450.00</td>
					<td>$9375.88</td>
				</tr>
			</tbody>
			<tbody>
				<tr>
					<td>17 Jun 09</td>
					<td>Murco</td>
					<td>$60.00</td>
					<td></td>
					<td>$9315.88</td>
				</tr>
				<tr>
					<td>18 Jun 09</td>
					<td>Wrox Press</td>
					<td></td>
					<td>$1000.00</td>
					<td>$10315.88</td>
				</tr>
				<tr>
					<td>18 Jun 09</td>
					<td>McLellans Bakery</td>
					<td>$25.00</td>
					<td></td>
					<td>$10290.88</td>
				</tr>
				<tr>
					<td>18 Jun 09</td>
					<td>Apple Store</td>
					<td>$1350.00</td>
					<td></td>
					<td>$8940.88</td>
				</tr>
			</tbody>
		</table>
	</body>
</html>
